package com.nuoniu.sibanyun.entity.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @ClassName VoucherReferenceVo
 * @Description TODO
 * @Author 白强
 * @Date 2023/3/4 12:01
 * @Version 1.0
 **/
@Data
@ApiModel("引用属性VO")
public class VoucherReferenceVo {

    @ApiModelProperty(value = "单据设计ID")
    private Long voucherDesignId;

    @ApiModelProperty(value = "单据唯一code标识")
    @TableField("voucher_code")
    private String voucherCode;

    @ApiModelProperty(value = "字段名称")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "字段编码")
    @TableField("code")
    private String code;

    @ApiModelProperty(value = "页签 （表头 表尾 明细 汇总 等等）")
    @TableField("data_tab")
    private String dataTab;

    @ApiModelProperty(value = "数据类型 1：基础 2：自定义 3.引用属性")
    @TableField("data_type")
    private Integer dataType;

    @ApiModelProperty(value = "控件类型")
    @TableField("column_type")
    private String columnType;

    @ApiModelProperty(value = "引用的基础档案code")
    @TableField("reference_table_code")
    private String referenceTableCode;

    @ApiModelProperty(value = "关联字段")
    private String voucherField;

}
